home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FCE Gold Plus
/
GOLD.iso
/
pc
/
fscommand
/
Xtras
/
FileXtra4_test.dir
/
00029_Script_Eject behavior
< prev
Wrap
Text File
|
2002-12-20
|
515b
|
23 lines
on mouseUp me
fxObj = xtra("FileXtra4").new()
if not(objectP(fxObj)) then
WriteInfo("*** Could not instantiate FileXtra4. Is it in the Xtras folder? ***" & RETURN)
return
end if
if the platform contains "Mac" then
volumeName = fxObj.fx_VolumeSelectDialog()
else
end if
if volumeName <> "" then
Alert "Volume returned is: " & volumeName
fxObj.fx_VolumeEject(volumeName)
else
alert "VolumeSelect dialog cancelled."
end if
fxObj = 0
end